(function($, window) {
	var v3Restdevice = window.v3Restdevice = {};
	var baseRequest = window.baseRequest;
	var appConfig = window.appConfig;
	var commonTool = window.commonTool;
	var dataManager = window.dataManager;
	var baseUrl = appConfig.v3ServiceUrl + '/ace/oasis/oasis-rest-device/restdevice';
	
	//Add by dongyi
    //获取场景分类
    var getSceneClassUrl = baseUrl + '/scenario/getAllScenario';
    v3Restdevice.getSceneClass = function (callback) {
        baseRequest.commonGet(getSceneClassUrl + mui.param({}), 5000, function (code, data) {
            if (code === 2 || code === 1) {
                return callback(2);
            }
            if (code === 0) {
                if (data.code === 0) {
                	callback(0, data.data);
                } else {
                    callback(1);
                }
            }
        });
    }
	// end
})(mui, window);